package cn.lgp6.ziyou_util.music.entity.dto;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class MusicMessageDTO {
    private String msg;
    private String type;
    private String time=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
    private int num;
    private String sessionId;
    private String current;
    private boolean isPlay;
    private String musicName;
    private List<Map<String,String>> queue;

    public List<Map<String, String>> getQueue() {
        return queue;
    }

    public void setQueue(List<Map<String, String>> queue) {
        this.queue = queue;
    }

    public String getMusicName() {
        return musicName;
    }

    public void setMusicName(String musicName) {
        this.musicName = musicName;
    }

    public String getCurrent() {
        return current;
    }

    public void setCurrent(String current) {
        this.current = current;
    }

    public boolean isPlay() {
        return isPlay;
    }

    public void setPlay(boolean play) {
        isPlay = play;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }
}
